<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!--[if lte IE 7]><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/library/ie.css" type="text/css" media="screen, projection" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/library/ie8.css" type="text/css" media="screen, projection" /><![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
<?php if(is_single(!in_category($blog_ID))) { ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.gallery.js"></script>
<?php } ?>
<script type="text/javascript">
jQuery(document).ready(function() { 
    jQuery('ul.sf-menu').superfish({ 
        delay:       500,                            // one second delay on mouseout 
        animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
        speed:       'fast',                          // faster animation speed 
        autoArrows:  false,                           // disable generation of arrow mark-up 
        dropShadows: true                            // disable drop shadows 
    });
});
jQuery(function(){
	//portfolio thumb fadein fadeout
	jQuery('#content div.portfolio').hover(function(){
		jQuery(this).find('img').fadeTo(200,0.7);
	}, function(){
		jQuery(this).find('img').fadeTo(200,1);
	});
	<?php if(is_single(!in_category($blog_ID))) { ?>
	jQuery('#gallery').gallery();
	<?php } ?>
});
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-26243657-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>

<body>
<div class="container_12">
<?php 
// pull from theme options
global $blog_ID;
$blog_cat = html_entity_decode(get_option('T_blog_cat'));
$blog_ID = get_cat_ID($blog_cat);
?>
<div id="header" class="grid_12">
	<div id="logo" class="grid_12">
		<h1><a href="<?php echo get_option('home'); ?>/"></a></h1>
		<div class="headerblock1">
			<span class="description">
			lich bui <br/>
			<?php bloginfo('description'); ?></span>	
			<div class="description2">from Hochiminh city - Vietnam</div>
			<br/>
			<a class="resume" href="http://www.lichbtportfolio.com/cv_resume.pdf"> Download My Resume </a>
		</div>
		<div class="headerblock1">
			<span class="description">Contact</span>	
			<div class="description2">
				T:   +84976.21340 <br />
				E:    <A HREF="mailto:lich.bui@gmail.com">lich.bui@gmail.com</a> Skype: lichbt<br />
				Ym! jojo83vn
			</div>
		</div>	
	</div>
	<!--
 	<?php //if(function_exists('get_search_form')) : ?>
		<?php //get_search_form(); ?>
		<?php //else : ?>
		<?php //include (TEMPLATEPATH . '/searchform.php'); ?>
	<?php //endif; ?> -->
	

    <!-- Navigation -->
	<br class="clear"/>
    <?php 
	if (function_exists('wp_nav_menu') ) {
		wp_nav_menu( 'sort_column=menu_order&menu_class=sf-menu&container=' );
	} else { ?>
	
    <ul class="sf-menu">
    	<li <?php if(is_home()) echo 'class="current-cat"'; ?>><a href="<?php bloginfo('home'); ?>">Home</a></li>
        <li>
    		<a href="#">Portfolio</a>
    		<ul>
    			<?php wp_list_categories("exclude=$blog_ID&title_li="); ?>
    		</ul>
    	</li>
    	<?php wp_list_categories("include=$blog_ID&title_li="); ?>   	
    	<li>
    	    <a href="#">Pages</a>
    	    <ul>
    	        <?php wp_list_pages("title_li="); ?> 
    	    </ul>
    	</li>
    </ul>
    <?php } ?>
</div>	
	

